<!--
 * @Description: 
 * @Version: 1.0
 * @Autor: gaoluo
 * @Date: 2021-09-09 15:37:34
 * @LastEditors: gaoluo
 * @LastEditTime: 2021-09-09 15:44:14
 * @FilePath: /nhw/src/components/Echarts/EchartsBarLine/test.vue
-->

<template>
  <div class="wrap">
    <EchartsBarLine :data="data" />
    <EchartsBarLine :data="data1" />

    <button @click="onClick">dianji</button>
  </div>
</template>

<script>
import "lib-flexible";
import "@/style/global.less";
import EchartsBarLine from "./index.vue";
export default {
  name: "NhwText",

  components: { EchartsBarLine },

  directives: {},

  data() {
    return {
      data: [120, 200, 150, 80, 70],
      data1: [120, 200, 150, 80, 70],
    };
  },

  mounted() {},

  methods: {
    onClick() {
      console.log("this.data");
      this.data = [20, 100, 50, 180, 170];
    },
  },
};
</script>

<style lang="less" scoped>
.wrap {
  height: 100%;
  width: 100%;
}
</style>